home *** CD-ROM | disk | FTP | other *** search
- Path: news1.io.org!news
- From: rgianni@io.org (Robert Giannini)
- Newsgroups: comp.lang.c
- Subject: Need Help with mapping routine
- Date: Sun, 03 Mar 1996 05:55:52 GMT
- Organization: Internex Online (io.org), Toronto, Ontario, Canada
- Message-ID: <4hb10t$fao@news1.io.org>
- NNTP-Posting-Host: dyna-93.net7a.io.org
- X-Newsreader: Forte Agent .99c/32.126
-
- Does any one know the best way to see what is in a sector on a map ie.
-
- 0 1 2 3
- 1 X
- 2 X
- 3
-
-
- Point 1(1,1)
- Point 2(3,1)
-
- Now what is the easist way to lay this out in a file so somehow I can
- use a read command just to get the points I want like
- read(fp,&x(3,1),sizeof(whatever))l;
-
- I've been thinking about this and I don't see any way of doing it with
- out a structure which is somthing I really don't want to use.
-
- Thanks for the help
-
-
-